#ifndef OPENVIEW_H
#define OPENVIEW_H

#include<QGraphicsView>
#include<QIcon>
#include<QBrush>
#include<QPixmap>
#include<QGraphicsScene>
#include<QGraphicsItem>
#include"openitem.h"
#include<QKeyEvent>
#include<QTimer>
#include<QDebug>
#include<QLabel>

class OpenView : public QGraphicsView
{
    Q_OBJECT
public:
    OpenView();
    void initView();
    QTimer*timer;
private:
    OpenItem * police;
    OpenItem * thief;


    QGraphicsScene*Scene;

    QLabel *title;

public slots:
    void autoMove();



signals:
    void isHide();

};

#endif // OPENVIEW_H
